<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="rent_reserve_advance_day" class="control-label col-xs-12 col-sm-2">可以提前预约:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="rent_reserve_advance_day" name="rent_reserve_advance_day" autocomplete="off" value="{$rent_reserve_advance_day|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">提前可以放出多少天可以提前预约，单位为天 (如 5)</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">最少连续起订时长:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="rent_at_least_min" name="rent_at_least_min" autocomplete="off" value="{$rent_at_least_min|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">用户预约时间不能低于这个时间 单位为分 (如 60)</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">用户自主取消预约:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="rent_refund" name="rent_refund" autocomplete="off" value="{$rent_refund|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">用户在预约多少个小时前可以自主取消 单位为小时 (如 3, 表示3小时前可退款，0表示用户不可自主退款)</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">预约多少分钟前可以进入开锁:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="unlock_inadvance_min" name="unlock_inadvance_min" autocomplete="off" value="{$unlock_inadvance_min|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">单位分钟</span>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary">{:__('OK')}</button>
            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style>
    .mf_backend_field_note {
        display: block;
        margin-top: 0.5rem;
        color: #838fa1;
        font-size: 1.2rem;
    }
</style>
